<% 
--[[ Define some variables to make locating other resources easier. ]] 
	local mySize = "thumb" 
	local others = "content" 
	local theRoot = "." 
%>



<%@ include file="header.html" %>

<media>
	<meta title="$model.metadata.siteTitle.value" credit="$model.metadata.siteCredit.value" description="$model.metadata.collectionDescription.value" zoomlevel="9"/>
<lr:ThumbnailGrid> 
	<lr:GridPhotoCell>
	<item>
		<meta rating="<%= image.rating %>" color="<%= image.colorLabel %>" type="photo" width="$image.renditions.large.width" height="$image.renditions.large.height" name="<%= image.imageID %>"/>
		<title>$image.metadata.title</title>
		<credit>$image.metadata.credit</credit>
		<exif>
			<date>$image.metadata.date</date>
			<time>$image.metadata.capturetime</time>
			<camera>$image.metadata.cameramodel</camera>
			<lens>$image.metadata.lens</lens>
			<iso>$image.metadata.iso</iso>
			<exposure>$image.metadata.exposure</exposure>
		</exif>
		<description>
			$image.metadata.description
		</description>
		<location>$image.metadata.gps</location>
		<media>bin/images/large/<%= image.exportFilename %>.jpg</media>
		<thumb>bin/images/thumb/<%= image.exportFilename %>.jpg</thumb>
	</item>
	</lr:GridPhotoCell> 
</lr:ThumbnailGrid> 
</media>
<%@ include file="footer.html" %>